Appearance
KBE3D / KBCore / Cesium / SceneTransforms
SceneTransforms
Functions that do scene-dependent transforms between rendering-related coordinate systems.
函数
| 函数 | 描述 |
|---|---|
| worldToWindowCoordinates | Transforms a position in world (WGS84 or alternative ellipsoid) coordinates to window coordinates. This is commonly used to place an HTML element at the same screen position as an object in the scene. |
| worldToDrawingBufferCoordinates | Transforms a position in world coordinates to drawing buffer coordinates. This may produce different results from SceneTransforms.worldToWindowCoordinates when the browser zoom is not 100%, or on high-DPI displays. |
